package org.example.learn;


public class Hello {

    public static void main(String[] args) {
        long totalMemery=Runtime.getRuntime().totalMemory();
        long maxMemery=Runtime.getRuntime().maxMemory();
        System.out.println("ToTal_memery(-Xms)="+totalMemery);
        System.out.println("max_memery(-xmx)"+maxMemery);
    }
}
